package com.chengxiaoxiao.libarypartner.activity;

import cn.jpush.android.api.JPushInterface;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.TextView;
import com.chengxiaoxiao.libarypartner.R;

public class MessageActivity extends Activity {

	private TextView textMessage;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_message);
		
		textMessage = (TextView) findViewById(R.id.textMessage);
		
		Bundle bundle =getIntent().getExtras();
		String title = bundle.getString(JPushInterface.EXTRA_NOTIFICATION_TITLE);
		
		String content =bundle.getString(JPushInterface.EXTRA_ALERT);
		textMessage.setText(title+"----"+content);
	}

	

}
